package com.winning.sjzc.login.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.winning.sjzc.login.entity.SysGncdEntity;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * description:
 *
 * @author yanxf@winning.com.cn
 * @date 2019/08/14 10:07
 */
@Mapper
public interface IndexMapper extends BaseMapper<SysGncdEntity> {

  //根据人员角色列表查询机构一级菜单
  List<SysGncdEntity> queryNavigationMenu(@Param("jsbms") List<String> ryjsCollect);

  //查询下级菜单，二级，三级通用
  List<SysGncdEntity>  querySubMenu(@Param("mcode") String mcode,@Param("jsbms") List<String>  ryjsCollect);

}
